package com.jic.interaction.clearAndSettlementSystem.model.entity;


import com.jic.interaction.clearAndSettlementSystem.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

/**
 * 结算周期同步
 *
 */
@Getter
@Setter
public class SettlementIntervalSync {
    private static final long serialVersionUID = 1L;
    //供应商商户ID
    ////@Length(max=20)
    @ApiModelProperty(notes = "供应商商户ID")
    private String supplierId;
    //采购商商户ID
    //@Length(max=20)
    @ApiModelProperty(notes = "采购商商户ID")
    private String purchaserId;
    //清算方式(0：按总额清算； 1：按日； 2：按周； 3：月；4：年；5：T+N
    //@Length(max=1)
    @ApiModelProperty(notes = "算方式(0：按总额清算； 1：按日； 2：按周； 3：月；4：年；5：T+N")
    private String clearInterval;
    //清算周期：1
    //@Length(max=8)
    @ApiModelProperty(notes = "清算周期：1")
    private Integer clearCycle;
    //是否自动打款(0)否(1)是
    //@Length(max=1)
    @ApiModelProperty(notes = "是否自动打款(0)否(1)是")
    private String autoPayment;
}
